from django.urls import path
from . import views

app_name = 'user'
urlpatterns = [
    # 用户中心
    path('udai_welcome/', views.udai_welcome, name='udai_welcome'),
    # 个人资料
    path('udai_setting/', views.udai_setting, name='udai_setting'),
    # 资金管理
    path('udai_treasurer/', views.udai_treasurer, name='udai_treasurer'),
    # 积分
    path('udai_integral/', views.udai_integral, name='udai_integral'),
    # 会员提升
    path('agent_level/', views.agent_level, name='agent_level'),
    # 收货地址
    path('udai_address/', views.udai_address, name='udai_address'),
    # 获取城市
    path('get_city/', views.get_city, name='get_city'),
    # 获取县城
    path('get_area/', views.get_area, name='get_area'),
    # 添加收货地址
    path('add_address/', views.add_address, name='add_address'),
    # 跳转修改收货地址把数据带过去
    path('udai_address_edit/<int:id>', views.udai_address_edit, name='udai_address_edit'),
    # 修改收货地址
    path('update_address/', views.update_address, name='update_address'),
    # 删除收货地址
    path('delete_address/<int:id>/', views.delete_address,name='delete_address'),
    # 优惠券
    path('udai_coupon/', views.udai_coupon, name='udai_coupon'),
    # 修改支付密码
    path('udai_paypwd_modify/', views.udai_paypwd_modify, name='udai_paypwd_modify'),
    # 修改登录密码
    path('udai_pwd_modify/', views.udai_pwd_modify, name='udai_pwd_modify'),
    # 我的订单
    path('udai_order/', views.udai_order, name='udai_order'),
    # 我的收藏
    path('udai_collection/', views.udai_collection, name='udai_collection'),
    # 收款
    path('udai_refund/', views.udai_refund, name='udai_refund'),
    # 物流查询
    path('udai_mail_query/', views.udai_mail_query, name='udai_mail_query'),
    # 售后服务
    path('udai_article1/', views.udai_article1, name='udai_article1'),
    # 配送服务
    path('udai_article2/', views.udai_article2, name='udai_article2'),
    # 用户协议
    path('udai_article3/', views.udai_article3, name='udai_article3'),
    # 常见问题
    path('udai_article4/', views.udai_article4, name='udai_article4'),
    # 如何成为代理商
    path('udai_article5/', views.udai_article5, name='udai_article5'),
    # 代销商上架教程
    path('udai_article6/', views.udai_article6, name='udai_article6'),
    # 分销商常见问题
    path('udai_article7/', views.udai_article7, name='udai_article7'),
    # 付款账户
    path('udai_article8/', views.udai_article8, name='udai_article8'),
    # 企业简介
    path('udai_article10/', views.udai_article10, name='udai_article10'),
    # 加入商城
    path('udai_article11/', views.udai_article11, name='udai_article11'),
    # 隐私说明
    path('udai_article12/', views.udai_article12, name='udai_article12'),
    # 留言
    path('issues/', views.issues, name='issues'),
    # 课堂
    path('class_room/', views.class_room, name='class_room'),
    # 企业账号
    path('enterprise_id/', views.enterprise_id, name='enterprise_id'),
    # 诚信合约
    path('udai_contract/', views.udai_contract, name='udai_contract'),
    # 平台公告
    path('udai_notice/', views.udai_notice, name='udai_notice'),
    # 联系我们
    path('udai_about/', views.udai_about, name='udai_about'),
    path('udai_modifypay_step1/', views.udai_modifypay_step1, name='udai_modifypay_step1'),
    path('udai_modifypay_step2/', views.udai_modifypay_step2, name='udai_modifypay_step2'),
    path('udai_modifypay_step3/', views.udai_modifypay_step3, name='udai_modifypay_step3'),
    path('udai_modifypwd_step1/', views.udai_modifypwd_step1, name='udai_modifypwd_step1'),
    path('udai_modifypwd_step2/', views.udai_modifypwd_step2, name='udai_modifypwd_step2'),
    path('udai_modifypwd_step3/', views.udai_modifypwd_step3, name='udai_modifypwd_step3'),
    path('address_edit/', views.address_edit, name='address_edit'),
    path('udai_article/', views.udai_article, name='udai_article'),
    path('udai_message/', views.udai_message, name='udai_message'),
]
